package com.video.video.domain;

import com.video.common.annotation.Excel;
import com.video.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 分组明细对象 d_group_item
 *
 * @author ruoyi
 * @date 2022-09-29
 */
public class DGroupItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 分组id */
    @Excel(name = "分组id")
    private String groupid;

    /** 商品id */
    @Excel(name = "商品id")
    private String goodid;

    /** 排序 */
    @Excel(name = "排序")
    private Integer itemsort;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setGroupid(String groupid)
    {
        this.groupid = groupid;
    }

    public String getGroupid()
    {
        return groupid;
    }
    public void setGoodid(String goodid)
    {
        this.goodid = goodid;
    }

    public String getGoodid()
    {
        return goodid;
    }
    public void setItemsort(Integer itemsort)
    {
        this.itemsort = itemsort;
    }

    public Integer getItemsort()
    {
        return itemsort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("groupid", getGroupid())
            .append("goodid", getGoodid())
            .append("itemsort", getItemsort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
